package com.phoenix.callAnalysis.task;

public abstract class TaskAdapter implements TaskListener {

    public abstract String getName();

    public void onPreExecute(GenericTask task) {
    	task.startTime = System.currentTimeMillis();
    };
    public void onPostExecute(GenericTask task, TaskResult result) {
    	task.endTime = System.currentTimeMillis();
    };
    public void onProgressUpdate(GenericTask task, Object param) {};
    public void onCancelled(GenericTask task) {};
}
